Using OLAP Cubes

OLAP stands for online analytical processing. An OLAP cube is a type of object that can be included on a dashboard which makes it very easy for users to change how the data is presented on the screen. The DataBlock designer defines certain dimensions, e.g., attributes that the data can be sorted on, and what the measures are (the counts, amounts, or other numbers that are being measured). The report viewer can then pick and choose at run time which dimensions they want to use, and how the data should be broken down.

 

For example, suppose there is a company that sells IT equipment. They have 12 salespeople, each of whom works in a particular region of the country. It would be nice to know things such as:

Determining all of this information would most likely require a large number of spreadsheets showing various data depending on the question you are trying to answer. OLAP cubes allow you to drag and drop dimensions, then filter, group, and sort the data to get the information you need quickly and easily. They have sometimes been called "a million spreadsheets in a box" because of how easily they can be rearranged to convey completely different information.

 

When you first load an OLAP cube, you will see data in its default view as configured by the DataBlock Designer.

A preconfigured OLAP cube showing the measures and dimensions specified by the DataBlock designer.

If this cube has previously-saved OLAP settings, you can load them by clicking on the OLAP Saved Settings button at the top of the cube. This dropdown displays any saved settings that you created, as well as ones created and shared by other users.

Selecting the "Products sold by region" saved setting that was created by this user.  user-created and shared settings are both listed in this dropdown.

After loading a saved OLAP setting, the name of the setting will appear at the top of the cube.

Note: The Web Viewer currently only supports loading existing saved OLAP settings. New saved OLAP settings can be created in the Argos client. The Argos client also allows you to "pin" a saved OLAP setting as the default view that will be loaded when running the DataBlock.

Dimensions

Click the Dimensions button to configure the cube. The Dimension Editor has lists of the available and displayed dimensions. You can click and drag each dimension into the Columns or Rows lists, or drag it back into the Available column to remove it from the cube.

The Dimension Editor lists available dimensions (product name, region name, last name, and sale date) on the left.  click and drag dimensions as desired into the list of columns or rows.

Click the gear icon to access advanced configuration for each dimension.

Product_name advanced configuration options

You can choose to enable Previous or Next Forecasting, which extrapolates one additional data point in each direction ("preceding" and "consequent" values). Argos supports several different forecast calculation methods, which you can choose from the dropdown list.

The Dimension Editor also allows you to set up custom groups of values and to filter or hide unwanted values from the cube.

Measures

Measures are the sums, totals, or other calculations that display in the OLAP cube. They are the information you are looking for based on the dimensions. Click Measures to open the Measure Manager where you can define which measures appear in the cube and how they display. Use the Add Measure button to create customized additional measures.

Measure Manager showing the sale_amount measure with Summa calculation type.

When a measure has min/max value filters applied, the Measures button at the top of the OLAP cube appears in red to indicate the presence of filtering.

Viewing Data

Once the cube has been constructed, you can use the following buttons to sort, expand, or view graphical data.

Icon Description
Expand Dimension Expand dimension. Only visible when there are additional sub-dimensions under a dimension.
Sort by Measure Sort by measure.
View Chart View chart.


To expand the OLAP cube to use the full window, click the  double arrow "expand"  button in the upper right of the cube.

OLAP Charts

Clicking the chart icon at the top of any column in an OLAP cube brings up a graph of the data for that column. In the first example above, the columns in the OLAP cube show a list of sale amounts for each product. Clicking the chart icon next to the Asus VW266H 25.5" LCD Monitor brings up the following graph:

Chart showing data for the first column in the OLAP cube.

Exporting OLAP Data to Excel

To export the data currently being shown in the OLAP cube, click the Export to Excel button in the upper right of the cube, next to the Fullscreen button:
Download icon

This will download an .xlsx file to your machine. Unlike in previous versions of Argos, you do not need to have Microsoft Excel installed to download the file. Once the download is complete, you can then open the file in a spreadsheet program of your choosing.

Microsoft Excel displaying the exported OLAP cube